import os
import fitz

doc = fitz.open("E:\\Project\\OpenSource\\windows\\C++\\mupdf-1.17.0-source\\platform\\win32\\x64\\Debug\\程辉-转正答辩PPT.pdf")

if doc.pageCount > 0:
    for pg in range(doc.pageCount):
        page = doc[pg]
        svg = page.get_svg_image(matrix=fitz.Identity, text_as_path=0)